import { CreateDate, DisplayOrder, Entity, PrimaryKey, Title, UpdateDate } from "@sker/core";
import { PrimaryGeneratedColumn } from 'typeorm'

@Entity({ name: 'jd_meal_type' })
export class JdMealType {
    @PrimaryGeneratedColumn({})
    id: number;

    @Title({ comment: '英文', default: '' })
    name: string;

    @Title({ comment: '中文', default: '' })
    name_cn: string;

    @DisplayOrder()
    displayorder: number;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}